From c55c18c23e58885003039484fd3d4d22b783bc3e Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 6 Dec 2014 13:30:24 +0000 Subject: [PATCH] examples: Fix clean rule in stand alone Makefiles Remove all the built files, including the exampleapp binary. --- examples/application1/Makefile.example | 2 +- examples/application10/Makefile.example | 3 ++- examples/application2/Makefile.example | 1 + examples/application3/Makefile.example | 1 + examples/application4/Makefile.example | 1 + examples/application5/Makefile.example | 3 ++- examples/application6/Makefile.example | 3 ++- examples/application7/Makefile.example | 3 ++- examples/application8/Makefile.example | 3 ++- examples/application9/Makefile.example | 3 ++- 10 files changed, 16 insertions(+), 7 deletions(-) diff --git a/examples/application1/Makefile.example b/examples/application1/Makefile.example index bb1b867025..7b99cb56a1 100644 --- a/examples/application1/Makefile.example +++ b/examples/application1/Makefile.example @@ -1,5 +1,4 @@ CC = gcc -LD = ld PKGCONFIG = $(shell which pkg-config) CFLAGS = `$(PKGCONFIG) --cflags gtk+-3.0` LIBS = `$(PKGCONFIG) --libs gtk+-3.0` @@ -18,3 +17,4 @@ exampleapp: $(OBJS) clean: rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application10/Makefile.example b/examples/application10/Makefile.example index 46a883e2cb..0561f77ca8 100644 --- a/examples/application10/Makefile.example +++ b/examples/application10/Makefile.example @@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled $(CC) -o $(@F) $(LIBS) $(OBJS) clean: - rm -f org.gtk.exampleapp.gschema.xml.valid + rm -f org.gtk.exampleapp.gschema.valid rm -f gschemas.compiled rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application2/Makefile.example b/examples/application2/Makefile.example index 971c29c990..f3d175f4b0 100644 --- a/examples/application2/Makefile.example +++ b/examples/application2/Makefile.example @@ -22,3 +22,4 @@ exampleapp: $(OBJS) clean: rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application3/Makefile.example b/examples/application3/Makefile.example index 971c29c990..f3d175f4b0 100644 --- a/examples/application3/Makefile.example +++ b/examples/application3/Makefile.example @@ -22,3 +22,4 @@ exampleapp: $(OBJS) clean: rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application4/Makefile.example b/examples/application4/Makefile.example index 3ce29b3f05..6a7f46be87 100644 --- a/examples/application4/Makefile.example +++ b/examples/application4/Makefile.example @@ -22,3 +22,4 @@ exampleapp: $(OBJS) clean: rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application5/Makefile.example b/examples/application5/Makefile.example index a5ab302008..ecfbe29473 100644 --- a/examples/application5/Makefile.example +++ b/examples/application5/Makefile.example @@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled $(CC) -o $(@F) $(LIBS) $(OBJS) clean: - rm -f org.gtk.exampleapp.gschema.xml.valid + rm -f org.gtk.exampleapp.gschema.valid rm -f gschemas.compiled rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application6/Makefile.example b/examples/application6/Makefile.example index bd31b546f9..418cc4d18b 100644 --- a/examples/application6/Makefile.example +++ b/examples/application6/Makefile.example @@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled $(CC) -o $(@F) $(LIBS) $(OBJS) clean: - rm -f org.gtk.exampleapp.gschema.xml.valid + rm -f org.gtk.exampleapp.gschema.valid rm -f gschemas.compiled rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application7/Makefile.example b/examples/application7/Makefile.example index 46a883e2cb..0561f77ca8 100644 --- a/examples/application7/Makefile.example +++ b/examples/application7/Makefile.example @@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled $(CC) -o $(@F) $(LIBS) $(OBJS) clean: - rm -f org.gtk.exampleapp.gschema.xml.valid + rm -f org.gtk.exampleapp.gschema.valid rm -f gschemas.compiled rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application8/Makefile.example b/examples/application8/Makefile.example index 46a883e2cb..0561f77ca8 100644 --- a/examples/application8/Makefile.example +++ b/examples/application8/Makefile.example @@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled $(CC) -o $(@F) $(LIBS) $(OBJS) clean: - rm -f org.gtk.exampleapp.gschema.xml.valid + rm -f org.gtk.exampleapp.gschema.valid rm -f gschemas.compiled rm -f resources.c rm -f $(OBJS) + rm -f exampleapp diff --git a/examples/application9/Makefile.example b/examples/application9/Makefile.example index 46a883e2cb..0561f77ca8 100644 --- a/examples/application9/Makefile.example +++ b/examples/application9/Makefile.example @@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled $(CC) -o $(@F) $(LIBS) $(OBJS) clean: - rm -f org.gtk.exampleapp.gschema.xml.valid + rm -f org.gtk.exampleapp.gschema.valid rm -f gschemas.compiled rm -f resources.c rm -f $(OBJS) + rm -f exampleapp -- 2.30.2